package com.zhouyihe.weblog.admin.model.vo.wiki;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName FindWikiCatalogListRspVO
 * @author: 周益和
 * @qq: 1552951165
 * @date: 2024/7/9
 * @description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindWikiCatalogListRspVO {
    
    /**
     * 知识库 ID
     */
    private Long id;
    
    private Long articleId;
    
    private String title;
    
    private Integer sort;
    
    private Integer level;
    
    /**
     * 是否处于编辑状态（用于前端是否显示编辑输入框）
     */
    private Boolean editing;
    
    /**
     * 二级目录
     */
    private List<FindWikiCatalogListRspVO> children;
    
}